/* about.css — new About page styles
   Replace placeholder images in /assets/images/
   Uses the same visual language as your site (black accent now)
*/
* {
  font-family: "Jost", Arial, sans-serif !important;
}

/* Variables (match theme) */
a {
  color: #000;
  text-decoration: none;
}

:root {
  --accent: #000000;
  --accent-2: #000000;
  --muted: #6b6b6b;
  --text: #0b0b0b;
  --bg: #fbfbfb;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(10, 10, 10, 0.08);
  --container: 1180px;
  --ease: cubic-bezier(.2, .9, .3, 1);
}

/* Base & container */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

.center {
  text-align: center
}

.muted {
  color: var(--muted)
}

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/about-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: contrast(0.98) saturate(0.95);
  opacity: 0.9
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px
}

.about-title {
  font-family: "";
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 0
}

.about-subtitle {
  font-family: "";
  font-weight: 800;
  font-size: 44px;
  margin: 0;
  color: var(--text)
}

.about-lead {
  max-width: 920px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6
}

/* reveal base */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease)
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0)
}

/* ---------- PANDA IS 5 STAR ---------- */
.panda-5 {
  padding: 40px 0
}

.section-title {
  font-family: "";
  font-size: 28px;
  margin-bottom: 6px
}

.star-boxes {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap
}

.star-box {
  width: 220px;
  height: 220px;
  background: var(--card);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  transform-style: preserve-3d;
  perspective: 900px;
}

.star-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 12px
}

.star-box .star-title {
  font-weight: 700
}

.star-box:focus,
.star-box:hover {
  transform: translateY(-18px) rotateX(6deg) rotateY(-6deg) scale(1.04);
  box-shadow: 0 48px 110px rgba(10, 10, 10, 0.16)
}

/* ---------- SOCIAL REVIEWS (3 screenshots, flush) ---------- */
.social-reviews {
  padding: 28px 0
}

.ss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 0;
  margin-top: 12px
}

.ss-item {
  display: block;
  overflow: hidden
}

.ss-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease)
}

.ss-item.portrait img {
  height: 520px
}

.ss-item.landscape img {
  height: 520px
}

.ss-item:hover img {
  transform: scale(1.03)
}

/* On small screens stack neatly and reduce height */
@media (max-width:900px) {
  .ss-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .ss-item img {
    height: 320px
  }
}

/* ---------- FACTORY ---------- */
.factory {
  padding: 40px 0
}

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 32px;
  align-items: center
}

.factory-text h3 {
  font-family: "Jost";
  font-size: 22px;
  margin: 0 0 10px
}

.factory-text p {
  color: var(--muted);
  line-height: 1.6
}

.factory-stats {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  align-items: center
}

.factory-stats li {
  list-style: none;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 700
}

.factory-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow)
}

/* mobile stack */
@media (max-width:900px) {
  .factory-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }
}

/* ---------- PICK YOUR PATCH (large square cards) ---------- */
.pick {
  padding: 40px 0
}

.pick-grid {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px
}

.pick-card {
  width: 210px;
  height: 210px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Jost";
  font-weight: 700;
  font-size: 18px;
  transition: transform 320ms var(--ease);
  text-align: center;
  padding: 8px;
}

.pick-card .type-small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted)
}

.pick-card:hover {
  transform: translateY(-14px) rotateX(6deg)
}

/* make slightly smaller on small screens */
@media (max-width:480px) {
  .pick-card {
    width: 160px;
    height: 160px
  }
}

/* ---------- PANDA PROMISE (4 cards, 3D) ---------- */
.promise {
  padding: 40px 0
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px
}

.promise-card {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 360ms var(--ease)
}

.promise-icon {
  font-size: 28px;
  margin-bottom: 8px
}

.promise-card:hover {
  transform: translateY(-14px) rotateX(6deg)
}

/* responsive */
@media (max-width:900px) {
  .promise-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ---------- PATCH QUEST (no hover) ---------- */
.patch-quest {
  padding: 36px 0
}

.quest-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap
}

.quest-step {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  min-width: 150px;
  text-align: center;
  box-shadow: var(--shadow)
}

.num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 700
}

/* ---------- CTA (above footer) ---------- */
.about-cta {
  margin: 36px 0;
  padding: 40px 0;
  background-image: url('/assets/images/cta-bg-light.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative
}

.cta-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px
}

.cta-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background 220ms var(--ease), color 220ms var(--ease)
}

.cta-btn:hover {
  background: #000;
  color: #fff
}

/* ---------- small helpers ---------- */
.section-title {
  font-family: "Jost";
  font-size: 28px
}

h3.center {
  margin: 0
}

.center {
  text-align: center
}

/* accessibility focus */
.star-box:focus,
.pick-card:focus,
.promise-card:focus,
.ss-item:focus {
  outline: 3px solid rgba(0, 0, 0, 0.14);
  outline-offset: 4px
}

/* general responsive tweaks */
@media (max-width:1100px) {

  .about-title,
  .about-subtitle {
    font-size: 36px
  }
}

@media (max-width:720px) {

  .about-title,
  .about-subtitle {
    font-size: 28px
  }

  .star-box {
    width: 170px;
    height: 170px
  }

  .ss-item.portrait img,
  .ss-item.landscape img {
    height: 360px
  }
}
